package guda.stark.dal.dao;

import guda.stark.dal.dataobject.OwnerDO;
import guda.grape.autogen.common.page.BaseQuery;
import java.util.List;

public interface OwnerDAO {


    Long insert(OwnerDO owner);


    OwnerDO getOwnerById(Long ownerId);


    boolean delOwnerById(Long ownerId);

    List<OwnerDO> getOwnerByIds(List idsList);

    /**
     * 清空测试用例加入的autoincrement
     */
    void cleanAutoIncrement(Long ownerId);

    List<OwnerDO> selectForPage(BaseQuery baseQuery);

    int countForPage(BaseQuery baseQuery);

    void updateByIdSelective(OwnerDO owner);

}
